package com.ruoyi.report_sj.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 砂浆抗压强度试验检测记录详情业务对象 report_sjkyqd_ba_detail
 *
 * @author zyb
 * @date 2024-05-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportSjkyqdBaDetailBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 主表id
     */
    @NotNull(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * 编号
     */
    @NotNull(message = "编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bianh;

    /**
     * 设计强度等级
     */
    @NotBlank(message = "设计强度等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shejqddj;

    /**
     * 取样部位
     */
    @NotBlank(message = "取样部位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String quybw;

    /**
     * 制件日期
     */
    @NotNull(message = "制件日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date zhijrq;

    /**
     * 试验日期
     */
    @NotNull(message = "试验日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date shiyrq;

    /**
     * 龄期
     */
    @NotBlank(message = "龄期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lingq;

    /**
     * 试件尺寸(mm)长x宽x高
     */
    @NotBlank(message = "试件尺寸(mm)长x宽x高不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shijcc;

    /**
     * 承压面积(mm2)
     */
    @NotBlank(message = "承压面积(mm2)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String chengymj;

    /**
     * 极限载荷(kN)
     */
    @NotNull(message = "极限载荷(kN)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal jixzh;

    /**
     * 换算系数
     */
    @NotNull(message = "换算系数不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal huansxs;

    /**
     * 抗压强度测值(MPa)
     */
    @NotNull(message = "抗压强度测值(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal kangyqdcz;

    /**
     * 平均抗压强度(MPa)
     */
    @NotNull(message = "平均抗压强度(MPa)不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal pingjkyqd;

    /**
     * 占设计强度百分率(%)
     */
    private String zhansjqdbfl;

    //规定值
    private String guidz;
    //结果判定
    private String jiegpd;


}
